# 下载
import urllib.request

# 下载网页
# url = 'http://www.baidu.com'
# urllib.request.urlretrieve(url, 'baidu.html')

# 下载图片
# url_image = 'https://i-blog.csdnimg.cn/direct/92d4d7513dd04d71a9d3c3b69ecdb7ac.png'
# urllib.request.urlretrieve(url_image,'1.jpg')

# 下载视频
# url_mp4 = 'https://vd3.bdstatic.com/mda-mhkku4ndaka5etk3/1080p/cae_h264/1629557146541497769/mda-mhkku4ndaka5etk3.mp4?v_from_s=hkapp-haokan-tucheng&auth_key=1629687514-0-0-7ed57ed7d1168bb1f06d18a4ea214300&bcevod_channel=searchbox_feed&pd=1&pt=3&abtest='
# urllib.request.urlretrieve(url_mp4, '2.mp4')
